package com.mo;

public class VolatileTest1 {
    private static volatile Integer i = 10;

    public static void main(String[] args) {
        Integer a = new Integer(i);
        i++;
        System.out.println(a);
        System.out.println(i);
    }

}
